home *** CD-ROM | disk | FTP | other *** search
/ Champak 142 / Volume 142 Oct 17 2011 - Damaged.iso / Games / Fashion_Recall.swf / scripts / DefineButton2_437 / BUTTONCONDACTION on(press).as next >
Text File  |  2011-10-17  |  228b  |  11 lines

  1. on(press){
  2.    if(_currentframe < 3)
  3.    {
  4.       gotoAndStop(3);
  5.       _parent.dragitems.gotoAndStop(_name);
  6.       _parent.dragitems._x = _X;
  7.       _parent.dragitems._y = _Y;
  8.       startDrag(_parent.dragitems,0);
  9.    }
  10. }
  11.